import { createApp } from 'vue'
import App from './App.vue'
import '@/styles/index.css'
import '@/styles/index.scss'
import '@/styles/font.less'
import toll from '@/assets/media/toll.mp3'
console.log('abc')
const params = new Promise((resolve, reject) => {
    resolve('123')
})
params.then(res => {
    console.log(res, 'res')
})
var arrTest = [1, 2, 3]
console.log(arrTest.includes(1))
const str = 'abc'
console.log(str, 'str')
const test = () => {
    console.log('nnnn')
}
test()

if ('serviceWorker' in navigator) {
    window.addEventListener('load', () => {
        navigator.serviceWorker.register(`${window.location.origin}/service-worker.js`);
    });
}
const app = createApp(App)
app.mount('#app')